import 'package:flutter/material.dart';
import 'package:pocketfile/values/app_colors.dart';
import 'package:pocketfile/values/app_values.dart';


class ElevatedContainer extends StatelessWidget {
   Widget child;
  final Color bgColor;
  final EdgeInsetsGeometry? padding;
  final double borderRadius;

   ElevatedContainer({
    Key? key,
    required this.child,
    this.bgColor = AppColors.pageBackground,
    this.padding,
    this.borderRadius = AppValues.smallRadius,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: padding,
      decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(borderRadius),
          color: AppColors.elevatedContainerColorOpacity),
      child: child,
    );
  }
}
